From 04904c29df40d7530ab811bb06115fb712421caf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 31 Mar 1993 07:04:46 +0000 Subject: [PATCH] (read_char): Clear Vquit_flag when we return C-g for it. --- src/keyboard.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index 2f8689ef13e..d80cf2d83e8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1317,6 +1317,10 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) XSET (internal_last_event_frame, Lisp_Frame, selected_frame); Vlast_event_frame = internal_last_event_frame; #endif + /* If we report the quit char as an event, + don't do so more than once. */ + if (!NILP (Vinhibit_quit)) + Vquit_flag = Qnil; goto non_reread; } -- 2.30.2